from applications.extensions import ma
from marshmallow import fields


# mes的序列化类
class MesOutSchema(ma.Schema):
    id = fields.Integer()
    content = fields.Str()
    reply = fields.Str()
    userid = fields.Str()
    repid = fields.Str()
    create_at = fields.DateTime()
    update_at = fields.DateTime()
    isreply = fields.Integer()
